package com.beijing.springbootclustersession.controller;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Authther: mrwu
 * @date:2021/4/1-04
 * @Description:com.beijing.springbootclustersession.controller
 */
@Controller
public class DemoController {
    @ResponseBody
    @RequestMapping("/demo")
    public String demo(){
        return "demo sucess";
    }

    @RequestMapping("/index")
    public String login(){
        return "login";

    }

}

